package com.app.milkteaapp.bean;

public class FindMilkTeaGsonBean {
    /**
     * data : {"id":1,"name":"招牌奶茶","price":9,"img":"milk1.jpg","sales":0}
     * success : true
     * massage : 获取奶茶成功
     */

    private MilkTea data;
    private boolean success;
    private String massage;

    public MilkTea getData() {
        return data;
    }

    public void setData(MilkTea data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMassage() {
        return massage;
    }

    public void setMassage(String massage) {
        this.massage = massage;
    }

    public static class MilkTea {
        /**
         * id : 1
         * name : 招牌奶茶
         * price : 9
         * img : milk1.jpg
         * sales : 0
         */

        private int id;
        private String name;
        private int price;
        private String img;
        private int sales;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getSales() {
            return sales;
        }

        public void setSales(int sales) {
            this.sales = sales;
        }
    }
}
